/************************************************************************/
/* 
	mpeg4 divx encoder opts setting
	author pengl
	date 2008-11-27
*/
/************************************************************************/
#pragma once

#include "common.h"

/************************************************************************/
/* 
	mpeg4enc_opts class
	-ovc lavc -ffourcc DIVX -lavcopts vcodec=mpeg4:vhq:vbitrate=629:vpass=1
	-ovc lavc -ffourcc DIVX -lavcopts vcodec=mpeg4:vhq:vbitrate=629:vpass=2
*/
/************************************************************************/
class MPLAYER_API Cmpeg4enc_opts
{
public:
	Cmpeg4enc_opts(void);
	Cmpeg4enc_opts(int vbitrate, int pass);
	~Cmpeg4enc_opts(void);

	char *get_myname() const;
	char *get_mpeg4enc_opts();

protected:
	int m_vbitrate;
	int m_pass;
};
